package demo1218.pm1;

public class Demo_04 {
    public static void main(String[] args) {
        String s = "tom";
        String s1 = "tam";

        System.out.println(s.compareTo(s1));

    }
}
